package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSInSubHisBean implements GSBaseBean{

	public String warehouseName;
	public String warehouseCode;
	public String positionName;
	public String positionCode;
	public String inBillCode;
	public String inTime;
	public String inType;
	public String providerCode;
	public String providerName;
	public String remark;
	public String sendBillCode;
	public String balanceFlag;
	public String productCode;
	public String productName;
	public String productUnit;
	public String spec;
	public String model;
	public String productBrand;
	public String productCount;
	public String productPrice;
	public String productMoney;
	public String subRemark;
	public String staffName;
	public String staffId;
	public String productId;
	public String createUser;
	public String createTime;
	public String balanceMode;
	public String status;
	public String isNomal;
	public String categoryCode;
	public String inBillId;
	
	public Object process(ResultSet aResultSet) throws SQLException {
		GSInSubHisBean bean = new GSInSubHisBean();
		bean.balanceFlag  = aResultSet.getString("BALANCE_FLAG");
		bean.balanceMode = aResultSet.getString("BALANCE_MODE");
		bean.categoryCode = aResultSet.getString("CATEGORY_CODE");
		bean.createTime = aResultSet.getString("CREATE_TIME");
		bean.createUser = aResultSet.getString("CREATE_USER");
		bean.inBillCode = aResultSet.getString("IN_BILL_CODE");
		bean.inTime = aResultSet.getString("IN_TIME");
		bean.inType = aResultSet.getString("IN_TYPE");
		bean.isNomal = aResultSet.getString("IS_NORMAL");
		bean.model = aResultSet.getString("MODEL");
		bean.positionCode= aResultSet.getString("POSITION_CODE");
		bean.positionName= aResultSet.getString("POSITION_NAME");
		bean.productBrand = aResultSet.getString("PRODUCT_BRAND");
		bean.productCode = aResultSet.getString("PRODUCT_CODE");
		bean.productCount = aResultSet.getString("PRODUCT_COUNT");
		bean.productId = aResultSet.getString("PRODUCT_ID");
		bean.productMoney = aResultSet.getString("PRODUCT_MONEY");
		bean.productName = aResultSet.getString("PRODUCT_NAME");
		bean.productPrice = aResultSet.getString("PRODUCT_PRICE");
		bean.productUnit = aResultSet.getString("PRODUCT_UNIT");
		bean.providerCode = aResultSet.getString("PROVIDER_CODE");
		bean.providerName = aResultSet.getString("PROVIDER_NAME");
		bean.remark = aResultSet.getString("REMARK");
		bean.sendBillCode = aResultSet.getString("SEND_BILL_CODE");
		bean.spec = aResultSet.getString("SPEC");
		bean.staffId = aResultSet.getString("STAFF_ID");
		bean.staffName = aResultSet.getString("STAFF_NAME");
		bean.status = aResultSet.getString("STATUS");
		bean.subRemark = aResultSet.getString("SUB_REMARK");
		bean.warehouseCode = aResultSet.getString("WAREHOUSE_CODE");
		bean.warehouseName = aResultSet.getString("WAREHOUSE_NAME");
		bean.inBillId = aResultSet.getString("IN_BILL_ID");
		return bean;
	}

	public String getWarehouseName() {
		return warehouseName;
	}

	public void setWarehouseName(String warehouseName) {
		this.warehouseName = warehouseName;
	}

	public String getWarehouseCode() {
		return warehouseCode;
	}

	public void setWarehouseCode(String warehouseCode) {
		this.warehouseCode = warehouseCode;
	}

	public String getPositionName() {
		return positionName;
	}

	public void setPositionName(String positionName) {
		this.positionName = positionName;
	}

	public String getPositionCode() {
		return positionCode;
	}

	public void setPositionCode(String positionCode) {
		this.positionCode = positionCode;
	}

	public String getInBillCode() {
		return inBillCode;
	}

	public void setInBillCode(String inBillCode) {
		this.inBillCode = inBillCode;
	}

	public String getInTime() {
		return inTime;
	}

	public void setInTime(String inTime) {
		this.inTime = inTime;
	}

	public String getInType() {
		return inType;
	}

	public void setInType(String inType) {
		this.inType = inType;
	}

	public String getProviderCode() {
		return providerCode;
	}

	public void setProviderCode(String providerCode) {
		this.providerCode = providerCode;
	}

	public String getProviderName() {
		return providerName;
	}

	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSendBillCode() {
		return sendBillCode;
	}

	public void setSendBillCode(String sendBillCode) {
		this.sendBillCode = sendBillCode;
	}

	public String getBalanceFlag() {
		return balanceFlag;
	}

	public void setBalanceFlag(String balanceFlag) {
		this.balanceFlag = balanceFlag;
	}

	public String getProductCode() {
		return productCode;
	}

	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductUnit() {
		return productUnit;
	}

	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getProductBrand() {
		return productBrand;
	}

	public void setProductBrand(String productBrand) {
		this.productBrand = productBrand;
	}

	public String getProductCount() {
		return productCount;
	}

	public void setProductCount(String productCount) {
		this.productCount = productCount;
	}

	public String getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(String productPrice) {
		this.productPrice = productPrice;
	}

	public String getProductMoney() {
		return productMoney;
	}

	public void setProductMoney(String productMoney) {
		this.productMoney = productMoney;
	}

	public String getSubRemark() {
		return subRemark;
	}

	public void setSubRemark(String subRemark) {
		this.subRemark = subRemark;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getStaffId() {
		return staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getBalanceMode() {
		return balanceMode;
	}

	public void setBalanceMode(String balanceMode) {
		this.balanceMode = balanceMode;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsNomal() {
		return isNomal;
	}

	public void setIsNomal(String isNomal) {
		this.isNomal = isNomal;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getInBillId() {
		return inBillId;
	}

	public void setInBillId(String inBillId) {
		this.inBillId = inBillId;
	}
	
}
